package com.menhai.personmanagement.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.menhai.personmanagement.services.TjWordsDirectoryService;

import lombok.extern.slf4j.Slf4j;
/**
 * <p>
 * 体检常用语 前端控制器
 * </p>
 *
 * @author qianlinlin
 * @since 2021-01-11
 */

@Slf4j
@RestController
@RequestMapping("/TjWords")
public class TjWordsController {

     @Autowired
     private TjWordsDirectoryService tjWordsDirectoryService;
    

	/**
	 * 左侧目录
	 * @param request
	 * @param response
	 * @return
	 */
	@RequestMapping("/selectDirectoryList")
	public Object selectDirectoryList(HttpServletRequest request, HttpServletResponse response){
		return tjWordsDirectoryService.getDirectoryList();
	}
	
}
